<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<style type="text/css">

		/*
			.div1 .div3 p{
				color:red;
			}
		*/
		
		 
			div div p{
				color:red;
			}
		 
		
		/*
			div .div2 div div p{
				color:red;
			}
		*/
		
		/*
			div .div2 div p{
				color:red;
			}
		*/
		

		/*===============*/

		/*
			.div2 .div1 .div3 .div4{
				color:red;
			}
		*/

		/*div div .div4 div p{
			color:red;
		}*/
	</style>
</head>
<body>
	<div class="div1">
		<div class="div2">
			<div class="div3">
				<div class="div4">
					<p>我是什么颜色？</p>
				</div>
			</div>
		</div>
	</div>
</body>
</html>